﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BHair.Base
{
    public partial class frmsl : Form
    {
        public frmsl()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            chuanzhi.xssl =decimal.Parse( this.textBox1.Text);
            this.Close();
        }

        private void textBox1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyValue == 13)
            {
                chuanzhi.xssl = decimal.Parse(this.textBox1.Text);
                this.Close();
            }
        }
    }
}
